package com.itlaoqi.springcloud.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class SampleController {
    @GetMapping("/a")
    @ResponseBody
    public String methodA(){
        return "This is Method A";
    }
}
